<template>
  <div class="layout-padding">
    <div class="layout-padding-auto layout-padding-view">
      <div class="center">
        <el-form ref="dicDialogFormRef" :model="state.ruleForm" label-width="110px">
          <el-form-item label="样点调查数据">
            <el-select v-model="state.ruleForm.name">
              <el-option label="有机质" value="1" />
              <el-option label="有效磷" value="2" />
            </el-select>
          </el-form-item>
          <el-form-item label="样点分析数据">
            <el-radio-group v-model="state.ruleForm.type">
              <el-radio value="1">100样点数据</el-radio>
              <el-radio value="2">300样点数据</el-radio>
              <el-radio value="3">500样点数据</el-radio>
              <el-radio value="4">700样点数据</el-radio>
            </el-radio-group>
          </el-form-item>
          <el-form-item label="">
            <el-checkbox label="莫兰指数样点空间聚集度识别法" value="1" />
          </el-form-item>
          <div class="text-center">
            <el-button type="primary" @click="onSubmit">样点聚集度分析</el-button>
          </div>
        </el-form>
      </div>
    </div>
  </div>
</template>

<script lang="ts" setup name="skycfxTask">
import { reactive } from 'vue';
import { useRouter } from 'vue-router';

const router = useRouter();

const state = reactive({
  ruleForm: {} as any,
  loading: false,
});

const onSubmit = () => {
  router.push({ path: '/xtcl/sktxfx/jjdfx/result' });
};
</script>

<style lang="scss" scoped>
.center {
  width: 1080px;
  margin: 0 auto;
}
.text-center {
  text-align: center;
}
</style>
